package remato.client.view.util;

import java.util.ArrayList;

import org.eclipse.core.runtime.IAdaptable;
import org.eclipse.ui.views.properties.IPropertySource;

/**
 * @author petterei
 * @version $Id: PropertySourcesList.java,v 1.1 2006-01-23 19:58:37 petterei Exp $
 */
public class PropertySourcesList extends ArrayList<IAdaptable> implements IAdaptable {

	private static final long serialVersionUID = 4189400284508685750L;

	public Object getAdapter(Class adapter) {
        if (adapter == IPropertySource.class) {
        	return new ListPropertySource(this);
        }
		return null;
	}
}
